package makabakaquestionnaire.zutsoftware.system.entity;

import makabakaquestionnaire.zutsoftware.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程问卷关联对象 course_project
 *
 * @author ruoyi
 * @date 2022-04-23
 */

public class CourseProject
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 问卷id */
    @Excel(name = "问卷id")
    private String projectKey;

    public CourseProject(Long courseId, String projectKey) {
        this.courseId = courseId;
        this.projectKey = projectKey;
    }

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setProjectKey(String projectKey)
    {
        this.projectKey = projectKey;
    }

    public String getProjectKey()
    {
        return projectKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("projectKey", getProjectKey())
            .toString();
    }
}
